MailPoet\Form\Block\BlockRendererHelper B

Total Complexity 78
Dependencies 3
Dependents 11
Total lines 290
Lines of code 233
Logical lines of code 131
Comment lines 10
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
getInputValidation()
B
38 16 63
renderLabel()
A
45 12 41
renderLegend()
S
52 7 25
translateValidationErrorMessage()
S
56 7 18
renderFontStyle()
S
61 6 11
renderInputPlaceholder()
S
59 5 15
getInputModifiers()
S
63 5 10
getFieldName()
S
64 4 9
getFieldLabel()
S
71 3 5
getFieldValue()
S
71 3 5
getFieldIsRequired()
S
71 3 5
getErrorsContainerClass()
S
64 3 10
escapeShortCodes()
S
65 2 8
__construct()
S
77 1 4
renderErrorsContainer()
S
74 1 4